<?php 

	$currency= $shopObj->fetch_one("SELECT value FROM settings WHERE id='26'");
	$order= $shopObj->fetch_one("SELECT value FROM settings WHERE id='50'");
	$tky= $shopObj->fetch_one("SELECT value FROM settings WHERE id='56'");
	$currency_array= array("ARS", "AUD", "BRL", "GBP", "CAD", "DKK", "EUR", "HKD", "INR", "ILS", "JPY", "LTL", "MYR", "MXN", "NZD", "NOK", "PHP", "RON", "RUB", "SGD", "ZAR", "SEK", "CHF", "TRY", "AED", "USD");

?>
<div class="row-fluid">
	<h4><?php  echo translate_word_shop('general_settings',$dictionary); ?></h4>
	<div class="span4" >
		<ul class="unstyled spaced2">
			<li>
				<i class="icon-circle green"></i>
				poti modifica moneda in care vor fi afisate preturile pe magazinul tau virtual
			</li>
			
			<li>
				<i class="icon-circle green"></i>
				poti edita comanda minima pe care o poate face un client
			</li>
			<li>
				<i class="icon-circle green"></i>
				completeaza cat la suta din pretul produsului reprezinta un puct de fidelitate
			</li>
		</ul>		
	</div>
	<div class='span7'>
		<div class="control-group">
			<label class='control-label span3' for=""><?php  echo translate_word_shop('currency',$dictionary); ?></label>
			<div class='control span7'>
				<select name='currency'  class='span10' id='currency' onchange='send_currency(this.value);'>

					<?php

						foreach ($currency_array as $key => $value) {
							echo "<option value='{$value}'";
							if($value==$currency[0]){
								echo "  selected='selected'  ";
							}
							">{$value}</option>";
						}


					 ?>
					<option value='EUR' selected='selected'>EUR</option>
					<option value='ARS'>ARS</option>
					<option value='AUD'>AUD</option>
					<option value='BRL'>BRL</option>
					<option value='GBP'>GBP</option>
					<option value='CAD'>CAD</option>
					<option value='DKK'>DKK</option>
					<option value='HKD'>HKD</option>
					<option value='INR'>INR</option>
					<option value='ILS'>ILS</option>
					<option value='JPY'>JPY</option>
					<option value='LTL'>LTL</option>
					<option value='MYR'>MYR</option>
					<option value='MXN'>MXN</option>
					<option value='NZD'>NZD</option>
					<option value='NOK'>NOK</option>
					<option value='PHP'>PHP</option>
					<option value='RON'>RON</option>
					<option value='RUB'>RUB</option>
					<option value='SGD'>SGD</option>
					<option value='ZAR'>ZAR</option>
					<option value='SEK'>SEK</option>
					<option value='CHF'>CHF</option>
					<option value='TRY'>TRY</option>
					<option value='AED'>AED</option>
					<option value='USD '>USD</option>
				</select>
			</div>
			<div class='span2 pull-right'>
				<span class="btn btn-info btn-small tooltip-info  icon-info-sign " title="" data-placement="top" data-rel="tooltip" data-original-title="number of products on a page"></span>
			</div>	
			<br class='clear'/>
		</div>
			<br class='clear'/>
			<hr />
		<div class="control-group">
			<label class='control-label span3' for=""><?php  echo translate_word_shop('minimi_order',$dictionary); ?></label>
			<div class='control span7'>
				<input name='minim_order' type='text' class='span10'  id ='minim_order' value='<?php echo  $order[0]; ?>' onblur='save_input("minim_order");'>
			</div>
			<div class='span2 pull-right'>
				<span class="btn btn-info btn-small tooltip-info  icon-info-sign " title="" data-placement="top" data-rel="tooltip" data-original-title="number of products on a page"></span>
			</div>	
			<br class='clear'/>
		</div>
		<br class='clear'/>
		<hr />
		<div class="control-group">
			<label class='control-label span3' for="thankyou_value"><?php  echo translate_word_shop('bonus_points',$dictionary); ?></label>
			<div class='control span7'>
				<input name='thankyou_value' type='text' class='span10'  id ='thankyou_value' onblur='save_input("minim_order");' value='<?php echo  $tky[0]; ?>'>
			</div>
			<div class='span2 pull-right'>
				<span class="btn btn-info btn-small tooltip-info  icon-info-sign " title="" data-placement="top" data-rel="tooltip" data-original-title="number of products on a page"></span>
			</div>	
			<br class='clear'/>
		</div>
	</div>
</div>